package team.seekers.hula.record.history.entity.dao;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hbc
 * @since 2022-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HistoryDO对象", description="篝火")
@TableName(value = "history")
public class HistoryDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "历史的主题")
    private String title;

    @ApiModelProperty(value = "历史的内容")
    private String content;

    @ApiModelProperty(value = "历史的地址")
    private String location;

    @ApiModelProperty(value = "历史的见证者")
    private String historyUsers;


    @ApiModelProperty(value = "历史的总hula币")
    private Double hulaCoin;

    @ApiModelProperty(value = "历史的总hula分")
    private Double hulaScore;





    @ApiModelProperty(value = "有用度")
    private Integer wind;

    @TableLogic
    private Integer isDeleted;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
